home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
pc
/
Shout3Ddemo
/
Shout3d_runtime
/
codebase
/
models
/
visibilityLimitTest.s3d
< prev
next >
Wrap
Text File
|
2000-06-19
|
1KB
|
76 lines
#VRML V2.0 utf8
DEF BG Background{
color 1 1 1
}
Transform{
translation -12 10 0
children[
Shape{
geometry Box{ size 20 20 20 }
appearance Appearance{
material DEF BOX_MAT Material{
diffuseColor 1 0 0
transparency 0
}
}
}
]
}
Transform{
translation -18 10 -6
scale 7.5 7.5 7.5
children[
Shape{
geometry MultiMesh {
coord Coordinate {
point [ -1 1 1,
-1 -1 1,
1 1 1,
1 -1 1,
1 1 -1,
1 -1 -1,
-1 1 -1,
-1 -1 -1 ]
}
coordIndex [ 0, 1, 3, 2, -1, 4, 5, 7,
6, -1, 6, 7, 1, 0, -1, 2,
3, 5, 4, -1, 6, 0, 2, 4,
-1, 1, 7, 5, 3, -1 ]
}
appearance Appearance{
material Material{
diffuseColor 0 0 1
transparency 0
}
}
}
]
}
DEF Combo_Dummy-TIMER TimeSensor{
cycleInterval 2.667
loop TRUE
}
DEF Camera01 Viewpoint{
fieldOfView 0.6024
position 36.45 22.24 -53.66
orientation -0.031 0.997 0.077 -3.907
description "Camera01"
}
DEF NavInfo NavigationInfo {
headlight true
visibilityLimit 39
}
DEF VIS_INTERP ScalarInterpolator {
key [0, .5, 1 ]
keyValue [ 38 45, 38 ]
}
ROUTE Combo_Dummy-TIMER.fraction_changed TO VIS_INTERP.set_fraction
ROUTE VIS_INTERP.value TO NavInfo.visibilityLimit